﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace TianShiProject.Models.System
{
    /// <summary>
    /// 操作员表
    /// </summary>
    public class Operator : BasicAggregateRoot<int>
    {
        /// <summary>
        /// 编号
        /// </summary>
        public string OperatorNumber { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string OperatorName { get; set; }
        /// <summary>
        ///公司外键
        /// </summary>
        public int CpmpanyId { get; set; }
        /// <summary>
        ///部门外键
        /// </summary>
        public int DeptId { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string OperatorPhone { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        ///状态
        /// </summary>
        public int OperatorState { get; set; } = 0;
        /// <summary>
        /// 账号
        /// </summary>
        public string Account { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        ///是否删除
        /// </summary>
        public int IsDelete { get; set; } = 0;
        /// <summary>
        /// 确认密码
        /// </summary>
        public string AffirmPassword { get; set; }
        /// <summary>
        /// 角色外键
        /// </summary>
        public int RoleId { get; set; }
    }
}
